package com.hrp.service;

import com.hrp.hrpdao.HljjDao;
import com.hrp.hrpdao.LcjjDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018-11-24.
 */
@Service
public class HljjService {


    @Autowired
    private HljjDao hljjDao;

    public void caculateJJ(Integer zqid) {
        Map<String, Integer> paramMap = new HashMap<>();
        paramMap.put("zqid", zqid);
        hljjDao.caculateJJ(paramMap);
    }

    public List<Map<String,Object>> getHljj(Integer zqid){
        return hljjDao.getHljj(zqid);
    }
}
